package com.mt.mtyx.search;

import com.mt.mtyx.entity.search.SkuEs;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * 热销商品远程调用
 *
 * @author WMT
 * @Date 2023/9/21 18:19
 */
@FeignClient("service-search")
public interface SkuFeignClient {

    /**
     * 获取爆款商品列表
     *
     * @return
     */
    @GetMapping("/api/search/sku/inner/getHotSkuList")
    List<SkuEs> getHotSkuList();
}
